<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<style type="text/css">@import url(css/estils.css);</style>
	<title>ComptaXM </title>
</head>
<body>
	
	<s:if test="errorMessages.size()>0">
		
		<div id="missatge_Error">			
			<label><s:property value="%{getText('login.error')}"/></label>
			<ul><s:actionerror/></ul>	
		</div>
		
	</s:if>
	<s:if test="actionMessages.size()>0">
		
		<div id="missatge_informacio">					
			<ul><s:actionmessage/></ul>				
		</div>
		
	</s:if> 
	
	<div id="carta">
	<h1><font><i><s:property value="%{getText('login.titol')}"/> </i></font></h1>
	<br><br>
	<h3><font ><i><s:property value="%{getText('login.descripcio')}"/></i></font></h3>
	<BR><BR>
	<em><font  size="2" color="#FF0000" >TFC.UOC.J2EE.<br> (per entrar com administrador,  nom usuari: admin i password: admin)
	<br>(per entrar com usuari, nom usuari: user i password:user)</font></em>
	<br><br>

	 
      <s:form method="post" action="Connectar"> 
            <s:textfield name="identificador" id="identificador" key="login.identificador" labelposition="left" cssClass="input"/> 
            <s:password name="contrasena" id="contrasena" key="login.password" labelposition="left" cssClass="input"/> 
            <s:submit key="login.validar"/> 
      </s:form> 
	</div> 
</body>
</html>